package chapter03.example01;
class Stunet{
    String name;
    void read(){
        System.out.println("大家好，我是"+ name);
    }
}


public class Example01 {
    public static void main(String[] args) {
            Stunet stu1 = new Stunet();
            Stunet stu2 = new Stunet();
            stu1.name ="小明";
            stu1.read();
            stu2.name = "小华";
            stu2.read();
    }
}
